<%@ page language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>用WebSocket实时获知比特币价格</title>
</head>
<body>
	<form action="/spring-mongodb-data/my/submit" >
		<input name="name"  />
		<input name="age"  />
		<button>提交</button>
	</form>
	<button onclick="send(1)">下载</button>
</body>
 
<script type="text/javascript">
	function send(flag){
	 	window.location.href = "http://127.0.0.1:8080/spring-mongodb-data/my/downFile"
	}
</script>
</html>